package com.example.demo1.rabbitmq;


import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;
import org.springframework.stereotype.Component;

@Component
public interface StreamClient {

   /* String MESSAGE="myMessage";

    @Input(StreamClient.MESSAGE)
    SubscribableChannel input();*/
   @Input("myMessageResponse")
   SubscribableChannel input();



    @Output("myMessage")
    MessageChannel output();
}
